﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true"
    CodeBehind="Classificar.aspx.cs" Inherits="Locadora.Views.Filme.Classificar" %>

<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">
    
    <div class="corpo">
    <h2>
        Qualificar Locador <%= Membership.GetUser(new Guid(ViewData["Id"].ToString())).ToString().ToUpper() %></h2>
        <div class="notes">
            <h4>
                Informações</h4>
            <p>
                Please enter your full email address, for example, <strong>name@domain.com</strong></p>
            <p>
                It is important that you provide a valid, working email address that you have access
                to as it must be verified before you can use your account.</p>
            <p>
                Please enter a land line number, not a mobile phone number.</p>
            <p class="last">
                Your phone number will not be shared or used for telemarketing. Your information
                is protected by our <a title="View our Privacy Policy" href="http://jeffhowden.com/legal/privacy_policy/">
                    Privacy Policy</a>.</p>
        </div>
         <form action="/Filme/Classifica/<%= ViewData["Id"] %>" method=post>
        <% if (ViewData["ErrorMessage"] != null)
           { %>
           <p class=erro>
        Ocorreu um erro:
        <br />
        <%= ViewData["ErrorMessage"] %>
        </p>
        <br />
        <% } %>
        <table class=list cellpadding=0 cellspacing=0>
            <tr>
                <td>
                    Título:
                </td>
            
                <td>
                    <%= ViewData["Titulo"] %>
                </td>
            </tr>
            <tr><td>Tipo Classificacao:</td>
            <td>
                <input type="radio" name="tipo" value=0/>Negativa
                <input type="radio" name="tipo" value=1/>Positiva
            </td>
            </tr>
            <tr><td colspan=2>Comentários:</td></tr>
            <tr><td colspan=3> <textarea  name="comentario" cols=40 rows="5"></textarea></td></tr>
        <tr>
            <td colspan="2">
                <input type="hidden" name="coUsuario" value="<%= (Membership.GetUser(Page.User.Identity.Name)).ProviderUserKey.ToString()%>" />
                <input type="hidden" name="coLocacao" value="<%= ViewData["CoLocacao"] %>" />
                <input type="submit" value="Enviar" />
            </td>
        </tr>
            
        </table>
        </form>
    </div>
</asp:Content>
